<html>
	 <head >
		 <meta charset="utf-8"/>
		 <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimum-scale=1.0"/>
		 <title >注册</title> 
		 <script src="../static/js/jquery-1.11.3.js"></script>
		 <script src="../static/js/jquery.mobile-1.4.5.js"></script>
		 <link rel="stylesheet" href="../static/css/jquery.mobile-1.4.5.css"/>
		 <link rel="stylesheet" href="../static/css/base.css">
		 <style >  
			 .ui-btn{font-size: 13px!important;}
		 </style>
		 <script >
			 function checkParams()
			 {
				 var email = $('input.email').val(); 
				 if(email.length == 0)
				 {
					 alert('请输入邮箱');
				 }
				 else
				 {
					 var password = $('input.password').val();
					 if(password.length == 0)
					 {
						 alert('请输入密码');
					 }
					 else
					 {
						 alert('注册成功');
					 }
				 }
			 }
		 </script>
	 </head> 
	 <div data-role="page" >
		  <div data-role="content">
			  <table width="100%">
				  <tr>
					  <td width="70%">
					  <input placeholder="邮箱" type="email" class="email"></input>
					  </td>
					  <td>
					  <a  data-role="button"  id="code">获取验证码</a>
					  </td>
					
				  </tr> 
				   <tr>
					<td  colspan='2'>
						<input placeholder="密码" type="password" class="password"></input>
					</td>	 
				   </tr>
				    <tr>
					<td  colspan='2'>
						<a data-role="button" onclick="checkParams()">注册</a>			
					</td>	 
				   </tr>
			  </table>
		  </div>
	</div>
</html>